package com.hotel.couponsystem.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (CouponAdmin)表实体类
 *
 * @author makejava
 * @since 2022-09-30 15:01:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "coupon_db")
public class CouponAdmin {
    //用户id
    @TableId
    private Integer userId;
    //账号
    private String userAdmin;
    //密码
    private String userPwd;
    //编号
    private Integer userNo;
    //权限
    private Integer userPower;
    //标识
    private Integer version;
    //状态
    private Integer state;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //备用字段01
    private String standby01;
    //备用字段02
    private String standby02;
    //用户手机号
    private  String userTelno;

}

